package com.puti.doctor.domian;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.puti.common.core.annotation.Excel;
import com.puti.common.core.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * 秒杀-评价 秒杀-评价对象 seckill_evaluate
 *
 * @author puti
 * @date 2021-04-25
 */
public class SeckillEvaluate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 评价ID */
    private Long evaluateId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long evaluatePatientId;

    /** 商品ID */
    @Excel(name = "商品ID")
    private String evaluateGoodsCode;


    @Excel(name = "商品")
    private String patientName;


    @Excel(name = "商品名车")
    private String goodsName;

    /** 浏览次数 */
    @Excel(name = "浏览次数")
    private Long evaluateBrowse;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date evaluateCreatedtime;

    /** 评星 */
    @Excel(name = "评星")
    private Long evaluateStart;

    /** 详情 */
    @Excel(name = "详情")
    private String evaluateDetails;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updatedBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedTime;

    /** 商品购买属性 */
    @Excel(name = "商品购买属性")
    private String orderGoodsAttributes;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getEvaluateId() {
        return evaluateId;
    }

    public void setEvaluateId(Long evaluateId) {
        this.evaluateId = evaluateId;
    }

    public Long getEvaluatePatientId() {
        return evaluatePatientId;
    }

    public void setEvaluatePatientId(Long evaluatePatientId) {
        this.evaluatePatientId = evaluatePatientId;
    }

    public String getEvaluateGoodsCode() {
        return evaluateGoodsCode;
    }

    public void setEvaluateGoodsCode(String evaluateGoodsCode) {
        this.evaluateGoodsCode = evaluateGoodsCode;
    }

    public String getPatientName() {
        return patientName;
    }

    public void setPatientName(String patientName) {
        this.patientName = patientName;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public Long getEvaluateBrowse() {
        return evaluateBrowse;
    }

    public void setEvaluateBrowse(Long evaluateBrowse) {
        this.evaluateBrowse = evaluateBrowse;
    }

    public Date getEvaluateCreatedtime() {
        return evaluateCreatedtime;
    }

    public void setEvaluateCreatedtime(Date evaluateCreatedtime) {
        this.evaluateCreatedtime = evaluateCreatedtime;
    }

    public Long getEvaluateStart() {
        return evaluateStart;
    }

    public void setEvaluateStart(Long evaluateStart) {
        this.evaluateStart = evaluateStart;
    }

    public String getEvaluateDetails() {
        return evaluateDetails;
    }

    public void setEvaluateDetails(String evaluateDetails) {
        this.evaluateDetails = evaluateDetails;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getUpdatedBy() {
        return updatedBy;
    }

    public void setUpdatedBy(String updatedBy) {
        this.updatedBy = updatedBy;
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

    public String getOrderGoodsAttributes() {
        return orderGoodsAttributes;
    }

    public void setOrderGoodsAttributes(String orderGoodsAttributes) {
        this.orderGoodsAttributes = orderGoodsAttributes;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("evaluateId", getEvaluateId())
            .append("evaluatePatientId", getEvaluatePatientId())
            .append("patientName", getPatientName())
            .append("goodsName", getGoodsName())
            .append("evaluateGoodsCode", getEvaluateGoodsCode())
            .append("evaluateBrowse", getEvaluateBrowse())
            .append("evaluateCreatedtime", getEvaluateCreatedtime())
            .append("evaluateStart", getEvaluateStart())
            .append("evaluateDetails", getEvaluateDetails())
            .append("createdBy", getCreatedBy())
            .append("createdTime", getCreatedTime())
            .append("updatedBy", getUpdatedBy())
            .append("updatedTime", getUpdatedTime())
            .append("orderGoodsAttributes", getOrderGoodsAttributes())
            .toString();
    }
}
